package com.thor.palmmall.rest.order;

import java.util.List;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.thor.commons.exception.ThorServiceException;
import com.thor.commons.query.QueryResult;

/**
 * 
 * 定单相关接口
 * 
 * @author vergar
 * 
 */
@Path("/sales")
@Produces(MediaType.APPLICATION_JSON + "; charset=utf-8")
@Consumes(MediaType.APPLICATION_JSON + "; charset=utf-8")
public interface AProductService {
	
	/**
	 * 批量获取商品列表
	 * @param condition
	 * @return
	 * @throws ThorServiceException
	 */
	@POST
	@Path("/product/queryProducts")
	QueryResult<AProduct> getProducts(AProductCondition condition) throws ThorServiceException;
}
